package com.jiejie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
public class Collect implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 收藏id
     */
    @TableId(value = "collect_id", type = IdType.AUTO)
    private Integer collectId;

    /**
     * 收藏状态
     */
    private Integer collectStatus;

    /**
     * 用户编号
     */
    private Integer customerId;

    /**
     * 电影id
     */
    private Integer movieId;

    /**
     * 锁
     */
    private Integer collectVersion;

    private LocalDateTime collectCreateTime;

    private LocalDateTime collectUpdateTime;

    private String orther1;

    private String orther2;

    public Integer getCollectId() {
        return collectId;
    }

    public void setCollectId(Integer collectId) {
        this.collectId = collectId;
    }
    public Integer getCollectStatus() {
        return collectStatus;
    }

    public void setCollectStatus(Integer collectStatus) {
        this.collectStatus = collectStatus;
    }
    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }
    public Integer getCollectVersion() {
        return collectVersion;
    }

    public void setCollectVersion(Integer collectVersion) {
        this.collectVersion = collectVersion;
    }
    public LocalDateTime getCollectCreateTime() {
        return collectCreateTime;
    }

    public void setCollectCreateTime(LocalDateTime collectCreateTime) {
        this.collectCreateTime = collectCreateTime;
    }
    public LocalDateTime getCollectUpdateTime() {
        return collectUpdateTime;
    }

    public void setCollectUpdateTime(LocalDateTime collectUpdateTime) {
        this.collectUpdateTime = collectUpdateTime;
    }
    public String getOrther1() {
        return orther1;
    }

    public void setOrther1(String orther1) {
        this.orther1 = orther1;
    }
    public String getOrther2() {
        return orther2;
    }

    public void setOrther2(String orther2) {
        this.orther2 = orther2;
    }

    @Override
    public String toString() {
        return "Collect{" +
            "collectId=" + collectId +
            ", collectStatus=" + collectStatus +
            ", customerId=" + customerId +
            ", movieId=" + movieId +
            ", collectVersion=" + collectVersion +
            ", collectCreateTime=" + collectCreateTime +
            ", collectUpdateTime=" + collectUpdateTime +
            ", orther1=" + orther1 +
            ", orther2=" + orther2 +
        "}";
    }
}
